<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Blocks {
    
    private $CI;
    
    
    function Blocks() {
        $this -> CI = &get_instance();
    }
    
    function show_login($is_logged=false)
    {
        if (!$is_logged) 
        {
            return $this->CI->load->view('blocks/login');
        }
    }
    
} 

?>
